package com.jeomo.shiro.bean;

import com.jeomo.shiro.enums.PlatformEnum;

/**
 * @Author: qbt
 * @Date: 2020/10/10 15:32
 * @Version 1.0
 */
public abstract class ShiroServiceBaseUserRealm extends ShiroBaseUserRealm {

    private PlatformEnum loginType;

    public ShiroServiceBaseUserRealm(PlatformEnum loginType) {
        this.loginType = loginType;
    }

    /**
     * 获取登录方式
     * @return
     */
    public PlatformEnum getLoginType() {
        return loginType;
    }

}
